import request from '@/utils/request'

export function fetchPagedData(data) {
  return request({
    // url: '/user/login',
    url: '/genauth/testData/getTestData.do',
    method: 'post',
    params: data
  })
}

export function createData(data) {
  return request({
    // url: '/user/login',
    url: '/genauth/testData/insertTestData.do',
    method: 'post',
    params: data
  })
}

export function updateData(data) {
  return request({
    // url: '/user/login',
    url: '/genauth/testData/updateTestData.do',
    method: 'post',
    params: data
  })
}

export function deleteData(data) {
  return request({
    // url: '/user/login',
    url: '/genauth/testData/updateTestData.do',
    method: 'post',
    params: data
  })
}
